package com.authsphere.security.account.api.bind;


import com.authsphere.security.account.api.bind.user.ExternalUser;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/22 11:43
 **/
public class AccountNotBindContext {

    private final ExternalUser externalUser;

    private String redirectUrl;

    private boolean appClient;


    public AccountNotBindContext(ExternalUser externalUser) {
        this.externalUser = externalUser;
    }

    public AccountNotBindContext(ExternalUser externalUser, String redirectUrl) {
        this.externalUser = externalUser;
        this.redirectUrl = redirectUrl;
    }

    public AccountNotBindContext(ExternalUser externalUser, String redirectUrl, boolean appClient) {
        this.externalUser = externalUser;
        this.redirectUrl = redirectUrl;
        this.appClient = appClient;
    }

    public ExternalUser getExternalUser() {
        return externalUser;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public boolean isAppClient() {
        return appClient;
    }

    public void setAppClient(boolean appClient) {
        this.appClient = appClient;
    }
}
